package com.zjy.springbootth.entity;

/**
 * @program: springboot-th
 * @ClassName User
 * @description:
 * @author: Ats
 * @create: 2025-04-19 14:20
 * @Version 1.0
 */
public class User {

    private String name;

    private String role;

    public User(String name, String role) {
        this.name = name;
        this.role = role;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", role='" + role + '\'' +
                '}';
    }
}
